<!DOCTYPE html>
<html>
<head>
    <title>详细信息</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/weui.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/jquery-weui.min.css">
    <link rel="stylesheet" href="${request.contextPath}/statics/css/commod.css">

</head>

<body ontouchstart>
<div class="center_head">
    <img class="weui-media-box__thumb" src="${request.contextPath}/statics/img/avatar.jpg"
         alt="">
</div>
<div class="weui-cells" id="app">
    <div class="weui-cell">
        <div class="weui-cell__bd">姓名</div>
        <div class="weui-cell__ft">{{empInfo.name}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">公司名称</div>
        <div class="weui-cell__ft">{{empInfo.corporateName}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">职务</div>
        <div class="weui-cell__ft">{{empInfo.job}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">身份证号码</div>
        <div class="weui-cell__ft">{{empInfo.idCard}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">联系电话</div>
        <div class="weui-cell__ft">{{empInfo.phone}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">家庭住址</div>
        <div class="weui-cell__ft">{{empInfo.addr}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">入职时间</div>
        <div class="weui-cell__ft">{{empInfo.entryTime}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">公司名称</div>
        <div class="weui-cell__ft">{{empInfo.corporateName}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">辞（离）职</div>
        <div class="weui-cell__ft">{{empInfo.leaveTime}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">监管事由</div>
        <div class="weui-cell__ft">{{empInfo.cause}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">监管结果</div>
        <div class="weui-cell__ft">{{empInfo.result}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">开除原因</div>
        <div class="weui-cell__ft">{{empInfo.reason}}</div>
    </div>
    <div class="weui-cell">
        <div class="weui-cell__bd">备注</div>
        <div class="weui-cell__ft">{{empInfo.remarks}}</div>
    </div>
</div>
<script src="${request.contextPath}/statics/libs/jquery-2.1.4.js"></script>
<script src="${request.contextPath}/statics/libs/fastclick.js"></script>
<script src="${request.contextPath}/statics/libs/vue.min.js"></script>
<script src="${request.contextPath}/statics/libs/jquery-weui.js"></script>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            empInfo: null
        },
        methods: {
            getData: function () {
                //    app.empInfo = JSON.parse(localStorage.employeeData);
                var data = localStorage.employeeData;
                app.empInfo=JSON.parse(data)
                console.log(data)
            }
        }
    });
    app.getData();
</script>
</body>
</html>
